CTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>支付页面</title>
</head>
<body>
<script>
    var s = document.URL;
    if(s.indexOf("total_amout")!=-1){
        document.write("支付成功");
    }else{
        document.write("支付失败");
    }
</script>

<div>您可能还喜欢</div>
</body>
</html>